package org.example.purchase.service;

import java.util.List;
import org.example.purchase.domain.PurchaseList;

/**
 * 采购清单Service接口
 * 
 * @author ruoyi
 * @date 2024-07-18
 */
public interface IPurchaseListService 
{
    /**
     * 查询采购清单
     * 
     * @param purchaseListId 采购清单主键
     * @return 采购清单
     */
    public PurchaseList selectPurchaseListByPurchaseListId(Long purchaseListId);

    /**
     * 查询采购清单列表
     * 
     * @param purchaseList 采购清单
     * @return 采购清单集合
     */
    public List<PurchaseList> selectPurchaseListList(PurchaseList purchaseList);

    /**
     * 新增采购清单
     * 
     * @param purchaseList 采购清单
     * @return 结果
     */
    public int insertPurchaseList(PurchaseList purchaseList);

    /**
     * 修改采购清单
     * 
     * @param purchaseList 采购清单
     * @return 结果
     */
    public int updatePurchaseList(PurchaseList purchaseList);

    /**
     * 批量删除采购清单
     * 
     * @param purchaseListIds 需要删除的采购清单主键集合
     * @return 结果
     */
    public int deletePurchaseListByPurchaseListIds(Long[] purchaseListIds);

    /**
     * 删除采购清单信息
     * 
     * @param purchaseListId 采购清单主键
     * @return 结果
     */
    public int deletePurchaseListByPurchaseListId(Long purchaseListId);
}